package com.ruicar.afs.cloud.bizcommon.algorithm.enums;

/**
 * @author yaorui.zhang
 * @version 1.0
 * @date 2020年6月3日15:40:39
 */
public enum CalculateType {

    equalrental("等本息还款计划接口", "equalrental"),
    equalprincipal("等本金还款计划接口", "equalprincipal"),
    ballonloan("分段贷还款计划", "ballonloan"),
    structuredloan("结构化还款", "structuredloan"),
    flexiblediscount("灵活贴息还款计划", "flexiblediscount"),
    equalratioret("等比累进还款计划", "equalratioret"),
    equalquota("等额累进还款计划", "equalquota"),
    arbitraryloan("任意贷还款计划", "arbitraryloan");

    private String name;
    private String value;

    // 构造方法
    private CalculateType(String name, String value) {
        this.name = name;
        this.value = value;
    }

    public String getValue() {
        return value;
    }
}
